package com.dgut.softproject.service.impl;

import com.dgut.softproject.dao.UserDao;
import com.dgut.softproject.pojo.User;
import com.dgut.softproject.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class UserServiceImpl extends BaseServiceImpl<User, Integer> implements UserService {

    private UserDao userDao;

    @Autowired
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
        //注入baseServceImpl的具体实现dao
        super.setJpaRepository(userDao);
    }


}
